﻿using IcicleFramework.Components;
using IcicleFramework.Entities;

namespace ExampleGame.Components.Score
{
    public delegate void AddPointsHandler(IPointsComponent source, IGameObject destination, float points);

    public interface IPointsComponent : IBaseComponent 
    {
        event AddPointsHandler AddPoints;

        /// <summary>
        /// Gets or sets the amount of points this IPointsComponent is worth.
        /// </summary>
        float Points { get; set; }
    }
}
